<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>

</head>
<body>
<c:set var="qnaListVO" value="${requestScope.qnaListVO }"></c:set>
<table border="1" width="800">

	<thead>
		<tr>
			<th>번호</th> <th>문의 제목</th> <th>글쓴이 아이디</th> <th>등록 일자</th> 
		</tr>
	</thead>
	<tbody>
		<c:forEach items="${qnaListVO.list }" var="qna"> 
			<tr>
				<td>${qna.qnaNo }</td> 
				<td>
					<a href="getQnaBoardByNo.killer?qnaNo=${qna.qnaNo }">
						<c:forEach begin="1" end="${qna.relevel }">
							&nbsp;
						</c:forEach>
						<c:forEach begin="1" end="${qna.relevel }">
							&rarr;
						</c:forEach>
						${qna.qnaTitle }
					</a>
				</td> 
				<td>${qna.qnaAuthor }</td> 
				<td>${qna.qnaDate }</td> 
			</tr>
		</c:forEach>
	</tbody>
</table>
<a href="getQnaBoardList.killer?nowPage=1">&lsaquo;&lsaquo;</a> &nbsp;
<c:if test="${qnaListVO.pagingBean.nowPageGroup>1 }">
	<a href="getQnaBoardList.killer?nowPage=${qnaListVO.pagingBean.startPageOfPageGroup-1 }">&lsaquo;</a>&nbsp;
</c:if>
<c:forEach begin="${qnaListVO.pagingBean.startPageOfPageGroup }" end="${qnaListVO.pagingBean.endPageOfPageGroup }" var="i">
	<a href="getQnaBoardList.killer?nowPage=${i }">${i }&nbsp;&nbsp;</a>
</c:forEach>
<c:if test="${qnaListVO.pagingBean.nowPageGroup<totalPageGroup }">
	<a href="getQnaBoardList.killer?nowPage=${qnaListVO.pagingBean.endPageOfPageGroup+1 }">&rsaquo;</a> &nbsp;
</c:if>
<a href="getQnaBoardList.killer?nowPage=${qnaListVO.pagingBean.totalPage }">&rsaquo;&rsaquo;</a>

</body>
</html>




















